PROJECT(karehaagent)
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR}
					${CMAKE_SOURCE_DIR}/chanagents)

SET(karehaagent_sources
	karehaagent.cpp)

SET(karehaagent_headers
	karehaagent.h)

QT4_WRAP_CPP(karehaagent_moc ${karehaagent_headers})

ADD_LIBRARY(karehaagent MODULE ${karehaagent_sources} ${karehaagent_moc})
TARGET_LINK_LIBRARIES(karehaagent ${QT_LIBRARIES} ${spelling_libs} wm)
SET_TARGET_PROPERTIES(karehaagent PROPERTIES LIBRARY_OUTPUT_DIRECTORY ..)

INSTALL(TARGETS karehaagent LIBRARY DESTINATION ${LIBDIR}/plugins/chanagents)

